package com.yunyi.integration.action;

import com.yunyi.integration.redis.RedisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/redis")
public class RedisAction {
    @Autowired
    private RedisService redisService;

    @GetMapping("test")
    public void testRedis(){
        redisService.testRedis();
    }

}
